resource "google_compute_region_target_http_proxy" "default" {
  region  = "us-central1"
  name    = "<%= ctx[:vars]['region_target_http_proxy_name'] %>"
  url_map = google_compute_region_url_map.default.id
}

resource "google_compute_region_url_map" "default" {
  region          = "us-central1"
  name            = "<%= ctx[:vars]['region_url_map_name'] %>"
  default_url_redirect {
    https_redirect = true
    strip_query    = false
  }
}
